// css
import "./index.css";
// less
import "./index.less";

// json
import data from "./data.json";
console.log(data);

// HMR:hot module replacement 热模块替换
import aaa from "./a";
import bbb from "./b";

aaa();
bbb();

function add(x, y) {
  return x + y;
}
console.log(add(1, 2));
